Safety Guarantees from Explicit Resource Management
نویسندگان
چکیده
We present a language and a program analysis that certifies the safe use of flexible resource management idioms, in particular advance reservation or “block booking” of costly resources. This builds on previous work with resource managers that carry out runtime safety checks, by showing how to assist these with compile-time checks. We give a small ANF-style language with explicit resource managers, and introduce a type and effect system that captures their runtime behaviour. In this setting, we identify a notion of dynamic safety for running code, and show that dynamically safe code may be executed without runtime checks. We show a similar static safety property for type-safe code, and prove that static safety implies dynamic safety. The consequence is that typechecked code can be executed without runtime instrumentation, and is guaranteed to make only appropriate use of resources.
منابع مشابه
Reasoning about Explicit Resource Management∗ (Abstract)
We investigate the behaviour and efficiency of concurrent processes with explicit resource management. Our study is based on a π-calculus variant called Rπ [4] where the only resources available are channels, which must be explicitly allocated before they can be used and can be deallocated when no longer required. A substructural type system guarantees the safe allocation and deallocation of ch...
متن کاملMore explicit communication after classroom-based crew resource management training: results of a pragmatic trial.
RATIONALE, AIMS AND OBJECTIVES Aviation-based crew resource management trainings to optimize non-technical skills among professionals are often suggested for health care as a way to increase patient safety. Our aim was to evaluate the effect of a 2-day classroom-based crew resource management (CRM) training at emergency departments (EDs) on explicit professional oral communication (EPOC; non-te...
متن کاملResource Pricing for Differentiated Services
In paper we present an overview of recent work on resource pricing for differentiated services in the Internet. This approach is based upon encouraging cooperation between the end-systems and the network by use of the correct feedback signals. These signals reflect the congestion shadow prices at a resource, and their use means then even ‘selfish’ end-systems, acting in their own best interests...
متن کاملInvestigating Agricultural Productivity Growth and Convergence in Iran and Eastern African Countries
The issue of convergence or divergence of productivity has important policy for regional poverty reduction and increasing standards of living. If productivity converges to a common level without intervention, there is little need for explicit policies in lagging regions to promote catch up. On the other hand, productivity has divergence trend, then explicit policies would be needed to prevent f...
متن کاملA CORBA Framework for Managing Real-Time Distributed Multimedia Applications
This paper presents a real-time distributed multimedia framework, based on the Common Object Request Broker Architecture (CORBA), that provides resource management and Quality of Service (QoS) for CORBA applications. The framework consists of multimedia components and resource management components. The multimedia components produce multimedia streams and combine multimedia streams generated by...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2007